package it312l.group9.itorf;

import android.app.Activity;
import android.content.Intent;
import android.database.sqlite.SQLiteOpenHelper;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.TextView;

public class QuestionActivity extends Activity {
	//MySQLiteHelper db = new MySQLiteHelper(this);
	TextView text = null;
	

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_question);
		text = (TextView)findViewById(R.id.questionDescription);
		text.setText("DHCP stands for Dynamic Host Configuration Protocol");
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}
	
	@Override
	public void onBackPressed()
	{
	     finish();
	}
	
	public void openSettings(View view){
		Intent i = new Intent(this, SplashScreen.class);
        startActivity(i);

        // close this activity
        finish();
	}
	
	public void answerFalse(){
		
	}

}